<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="pojo.*,dao.*,Service.*,Servlet.*,java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	request.setCharacterEncoding("utf-8");
	User p =(User)session.getAttribute("P");
	int id=p.getId();
%>
<form  action="<%=request.getContextPath() %>/UserServlet" >
<input type="hidden" name="method" value="update"/>
序号：<input type="text" name="id" value="<%=id %>"><br/>
所属单位：<input type="text" name="identity" value=<%=p.getIdentity()%>><br/>
姓名：<input type="text" name="name" value="<%=p.getName()%>"/><br/>
最后学科：<input type="text" name="degree" value="<%=p.getDegree()%>"/><br/>
职称：<input type="text" name="position" value="<%=p.getPosition()%>"/><br/>
一级学科：<input type="text" name="onesubject" value="<%=p.getOnesubject()%>"/><br/>
二级学科：<input type="text" name="twosubject" value="<%=p.getTwosubject()%>"/><br/>
<input type="submit" name="" value="提交"/><br/>
<input type="reset" name="" value="重置"/>
</form>
</body>
</html>